package com.itsu.interfaces.service;

import com.itsu.interfaces.entity.UserEntity;

import java.util.Date;
import java.util.List;

public interface UserService {

    UserEntity findByMobile(String mobile);

    UserEntity addUser(UserEntity userEntity);

    UserEntity findUserById(Long uid);

    void update(UserEntity entity);

    int allCount();

    int registerUser(Date start, Date end);

    List<UserEntity> registerUserList(Date start, Date end);

}
